//
//  MBSpaceDowningAllMusicCell.h
//  MiBaoTu
//
//  Created by admin on 16/9/23.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//  正在下载歌曲页面

#import <UIKit/UIKit.h>
#import "DownMusicModel.h"

@class MBSpaceDowningAllMusicCell;
@protocol MBSpaceDowningAllMusicCellDelegate <NSObject>

- (void)onSelectItemForGouXuanWithValue:(id)value WithSelect:(BOOL)isSelect WithView:(MBSpaceDowningAllMusicCell *)view;
- (void)onSelectItemForMoewWithValue:(id)value withView:(MBSpaceDowningAllMusicCell *)view;

@end

@interface MBSpaceDowningAllMusicCell : UITableViewCell

@property (nonatomic,assign)id<MBSpaceDowningAllMusicCellDelegate>delegate;
@property (nonatomic,strong)UIButton          *selectBt;
@property (nonatomic,assign)BOOL isHideMoewBt;//是否需要隐藏更多按钮
@property (nonatomic,assign)UIDeviceOrientation     orientation;
@property (nonatomic,strong)DownMusicModel  *musicDownModel;

@property (nonatomic,strong)UILabel           *nickNameLb;
@property (nonatomic,strong)UIProgressView    *progressView;
@property (nonatomic,strong)UILabel           *musicSizeLb;
@property (nonatomic,strong)UILabel           *musicTypeLb;

@property (nonatomic,assign)BOOL isSelect;
@property (nonatomic,assign)BOOL isAllStop;

//是否处于编译状态、全选状态
- (void)onCompileCellForLayout:(BOOL)isCompile WithAllSelct:(BOOL)isAllSelct;

- (void)layoutDataWithSize:(NSString *)size withProgress:(float)progress;
//单选勾中
- (void)onGouXuanToSelectAction:(UIButton *)bt;

@end
